/**
 * Copyright (c) 2005 - 2007 FeyaSoft Corp. All Rights Reserved.
 */
package com.feyaSoft.home.dao.feedback;

import com.feyaSoft.home.dao.base.BaseSearchResult;
import com.feyaSoft.home.dao.base.DataAccessException;
import com.feyaSoft.home.dao.base.ObjectNotFoundException;
import com.feyaSoft.home.hibernate.feedback.Feedback;

/**
 * @author Fenqiang Zhuang
 * @Oct 10, 2007
 * 
 * This file is used to .....
 */
public interface FeedbackDao {
	public BaseSearchResult search(FeedbackSearchCriteria searchCriteria)
			throws Exception;

	public Feedback loadFeedbackById(Long id) throws ObjectNotFoundException,
			DataAccessException;

	public Long saveOrUpdate(Feedback feedback) throws Exception;
}
